package com.dz.domain.entity;

import com.dz.common.core.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName : User
 * @Description :
 * @Author : ming
 * @Date: 2021-03-06 14:13
 **/
@Table(name="user")
@Data
@Entity
public class User implements Serializable {
    @Id
    private Long id;
    @Column(name = "username")
    private String userName;
    @Column(name = "password")
    private String passWord;
    @Column(name = "role")
    private String role;
}
